package com.qing.cheng.service;


import com.qing.cheng.dto.QcCourseStateDto;
import com.qing.cheng.entity.QcCourseState;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface QcCourseStateService {
    /**
     * 根据id获取所有的QcCourseStateDto
     * @param courseId
     * @return
     *
     */
    List<QcCourseStateDto> getAllStateByCourseId(Integer courseId);

    /**
     * 插入一条数据
     * @param courseState
     */
    void insertSelective(QcCourseState courseState);
}
